How do you find the value if the date falls between two dates

join shbcf.ru